

<div class="card" >
  <div class="card-header text-center">{{title}}</div>
  <ul class="list-group list-group-flush">
    <li *ngFor="let item of data;let i = index;" [routerLink]="item.link" [class.disabled]="item.disabled" [ngClass]="getHeightColorClass(item)" (click)="changeMenu(i)" class="list-group-item">{{item.name}}</li>
  </ul>
</div>
<ng-container *ngIf="menuActiveIndex == 2">
  <hr />
  <h5 class="my-3">菜单标题被改变了 <span class="text-danger">{{titleChangeNumber}}</span> 次</h5>
</ng-container>